//
//  ItsOnSaleViewController.m
//  ItsOnSale
//
//  Created by Jack Schwart on 2/1/11.
//  Copyright 2011 CocoaCommunity.com. All rights reserved.
//

#import "ItsOnSaleViewController.h"
#import "ItsOnSaleAppDelegate.h"


@implementation ItsOnSaleViewController


-(IBAction)convert:(id)sender
{
	float discount = [percentField floatValue];
	float amt = [fullAmount floatValue];
	float tax = [takeTaxRate floatValue];
	float total = [converter whatIs:discount off:amt withTax:tax];
	[saleAmount setFloatValue:total];
}
	

@end
